package com.richest.api.service.impl;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.richest.api.dao.EatOrderScoreMapper;
import com.richest.api.service.IEatOrderScoreService;
import com.richest.bean.EatOrderScoreBean;

/**
 * 
 * @author zhaohongchao 2019年4月2日 下午1:18:09
 * @email 70375739@qq.com
 */
@Service
public class EatOrderScoreServiceImpl implements IEatOrderScoreService {
	@Autowired
	private EatOrderScoreMapper eatOrderScoreMapper;

	@Override
	public Map<String, Object> getScore(Long admart_id) {
		return eatOrderScoreMapper.getScore(admart_id);
	}

	@Override
	public void saveEatOrderScore(EatOrderScoreBean eatOrderScoreBean) {
		eatOrderScoreMapper.saveEatOrderScore(eatOrderScoreBean);
	}

}
